﻿.menu .twomenu{
    width: 100%; 
    position: static;
    top: 0;
    background: #fff;
    z-index: 1;
    max-width: 750px;
    margin:0 0 0 -1%;
}
.menu .twomenu li{
    width: 20%;
}
.menu .twomenu li b{
    font-size: 1.16rem;
}
.menu .twomenu .tac{
    color: #cba943;
}
.book_stack .list li:last-child{ 
   
    border-bottom:none; 
}

.book_stack .list li:last-child a{ 
    color: #8d8d8d;
    font-size: 1.24rem;
}
.book_stack .list li:last-child b{  
    color: #c3c3c3;
}
/*书库*/
.book_stack{
    background: #fff;
    padding-bottom: 15px ;
}
 
.book_stack h3{
    font-size: 1.24rem;
    text-align: center;
    padding: 10px 0 25px;
    color: #21a7ee; 
    display: block; 
    cursor: pointer;
}
.book_stack h3 b{
    display: inline-block;
    margin-left: 5px;
    background: url(../images/bookdown.png) no-repeat;
    background-size: contain;
    width:1.333rem ;
    height: 0.844rem;
}
.book_stack h3 .active{ 
    background: url(../images/bookup.png) no-repeat;
    background-size: contain; 
}
.book_stack .left{
    width: 15%;
    margin-right: 2%;
    position: relative;
    top: 5px;
    font-size: 1.066rem;
    color: #434343;
}
.book_stack .right{
    width: 83%; 
}
.book_stack .catsopen{
    display: block;
}
.book_stack .right a{
    display: inline-block;
    margin: 0 0.4rem 10px; 
    padding: 3px 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font-size: 1.22rem;
}
.book_stack .right .active{ 
    background: #2aaaff; 
    color: #fff; 
}
.book_stack .list li{
    padding: 15px 0;
    border-top: 1px solid #f4f4f4; 
/*    border-bottom: 1px solid #f4f4f4; */
    overflow: hidden;
}
.book_stack .list h1{ 
    margin-bottom: 5px;
    font-size: 1.244rem;
    color: #434343; 
}
.book_stack .list h2{
    margin: 8px 0;
    font-size: 1rem; 
    color: #999;
}
.book_stack .list h2 a{ 
    color: #999;
}
.book_stack .list h2 .cat{ 
    color: #cba943;
    border-right:2px solid #e6e6e6;
    margin-right: 5px;
    padding-right: 5px;
}
.book_stack .list h1 b{ 
    font-size: 0.8rem;
    color: #aeaeae;    
    position: relative;
    top: 2px;
}
.book_stack .list .lefts {
    display: block;
     width: 100%; 
}
 .book_stack .list p{
    font-size:1rem ; 
     margin: 8px 0 15px;
     line-height: 1.8rem;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
    display: box; /** 对象作为伸缩盒子模型显示 **/
    -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
    -webkit-line-clamp: 2; /** 显示的行数 **/
    line-clamp: 2; /** 显示的行数 **/
    overflow: hidden;  /** 隐藏超出的内容 **/
}
.book_stack .list p a{
    color: #8a8a8a;
} 
.book_stack .lleft{
    width: 25%;
    margin-right: 3%;
}
.book_stack .lright{
    width: 72%;
} 
.allcasts,.allcasts .cleft{
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
}
.allcasts .cleft{
    background: none; 
}
.allcasts .cright{ 
    width: 75%; 
    height: 100%;
    background: #fff; 
    position: relative;
    z-index: 1010;
    left: 25%;
    padding: 15px 0 15px 15px ;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: scroll;
}
@media(max-width:750px){
    .menu .twomenu{ 
        margin:0 0 0 -2%;
    }
}
/*新分页*/
.book_stack .list .newpages{
    padding: 20px 0!important;
}
.newpages{
    overflow: hidden;
}
.newpages a{
    float: left;
    width: 12.8%;
    padding: 5px 0;
    text-align: center;
}
.book_stack .list .active {
    color: #f60!important;
    font-weight: 600;
}
.newpages a:first-child{ 
    width:18%; 
}
.newpages a:last-child{ 
    width: 18%; 
}
/**/
.gogoback{
    padding: 15px 0 13px;
    text-align: center;
    font-size: 1.3rem;
    border-bottom: 1px solid #F4F4F4;
    position: relative;
}
.gogoback a{
    color: #888; 
    position: absolute; 
    left: 0;
}
.nbookcats{
    background: #fff;
    padding: 10px 0;
    max-width: 750px;
    margin: 0 auto;
}
.nbookcats h1{
    font-size: 1.3rem; 
    margin: 15px 0;
    padding-left: 5px;
}
.nbookcats .boys h1{ 
    border-left: 2px solid #169bd4;  
    color: #169bd4;
}
.nbookcats .girls h1{ 
    border-left: 2px solid #f4555a;  
    color: #f4555a;
}
.nbookcats .wenxue h1{ 
    border-left: 2px solid #295351;  
    color: #295351;
}
.nbookcats .hk h1{ 
    border-left: 2px solid #b06a46;  
    color: #b06a46;
}
.nbookcats .catrow a{ 
    float: left;
    width: 33.33%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
     border: 1px solid #f4f4f4; 
    font-size: 1.2rem;
    text-align: center;
    padding: 12px 0;
    margin: 0 0 -1px -1px; 
    position: relative;
}
.nbookcats .hot{
    position: absolute;
    top: 0;
    left: 0;
    width: 2.75rem;
    height: 2.75rem;
    background: url(../images/hot.png) no-repeat center;
    background-size: contain;
}